<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<style>

.node {
  stroke: #fff;
  stroke-width: 2px;
}

.link {
  fill: none;
  stroke: #000;
}

</style>
<body>
<div id="tree"></div>
<script src="../js/d3.v3.min.js"></script>
<script src="../js/d3.chart.js?12"></script>
<script>
var chart=new chart({id:"tree"})
chart.tree();
for(var i=0;i<15;i++){
  chart.addNode();  
}
chart.updateTree();
</script>
</body>
